Links to good examples of XML
Hi Guys
I just started doing some XML, and I have yet not really understood what it is good for. Anyway, I have a task in school where we are supposed to use XML to make a regular HTML page and one for WAP (WML). Both pages should read from the same XML file.
Is there any good examples out there? I need to see the big picture.
Thanks
David
I always recommend this site, it has excellent tutorials and references:
http://www.w3schools.com
Check out the XML section for explanations of XML and WAP as well as some examples.
Similar Messages
-
I want Next/Back links between topics. Are there good examples how to do this?
I also have multiple books in which I want to have Next/Back buttons. The Help PDF offered by Adobe does not adequately describe how to do this. Does anyone have a good example/description of how I do this?
Walt MahanHi again
To access the link I listed, you just click it in your web browser.
There are a few different ways you can do this. You can insert the text as you wish to see it, then manually create the links. Ick! That's not very much fun.
If you are using RoboHelp 8 you could create a Master Page and insert a Breadcrumb Trails placeholder, then apply the Master Page across the topics.
For any version of RoboHelp you could achieve this by creating a Browse Sequence (Tools > Browse Sequence Editor) and generate WebHelp twice. The first pass to folder A and the second pass to folder B. During the first pass, you use the "Traditional - No skin" output. This would produce topics with code in them that contains the Previous and Next links. Then the second pass would be generated with a skin. You would then copy the topics from folder A and overwrite the topics in folder B to obtain the best of both worlds.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Please let me know a good example of Data Modeling Xml files...
Business process, ERD and so on...
Anything is OK. I want to get a good example of Data Modeling XML files.
I want to see what you did and how to use it more efficiently.
Thanks in advance.
Edited by: allbory on May 17, 2009 11:05 PMHello,
there are several samples at data modeler page http://www.oracle.com/technology/products/database/sql_developer/files/Modeling.html
Philip -
Example web.xml for JSTL?
I need to find an example web.xml file that shows where thet tablib statements for JSTL go and what they look like in a web.xml file. I was looking at an article I found through Google that pointed to Javasoft doc on this subject but the link didn't work, and anyway, I prefer examples to specifications. I haven't found a good example yet. Can someone point me to one or post one? I need both contents of the taglib statements and a clear picture of exactly where in the web.xml file they go. I think the statements are:
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/sql.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/x</taglib-uri>
<taglib-location>/WEB-INF/x.tld</taglib-location>
</taglib>Thanks.
KenJust to confirm
- what server/version are you deploying on where it doesn't work?
- what server do you have that it does work on? Is it the same?
- you have both standard.jar and jstl.jar? Check the version by opening with a zip tool and looking at the manifest.mf file.
- what URI are you using to import the tag libraries with?
To install JSTL, all you need is jstl.jar and standard.jar, in a place where the webapp can find them.
Most commonly is the WEB-INF/lib directory
Most servers also have a "shared" directory idea - eg tomcat has the /common/lib and /shared/lib directories. The JSTL jars will work just as well in those directories. -
New-SCSMview - Do we have some good examples for SCSM 2012 R2
Hi Team,
I am trying to copy the existing SCSM views and trying to achieve this using NEW-SCSMView.
Do we have some good examples on it??
Regards,
Dinesh
Thanks & Regards, DineshHi,
We should first get the existing view criteria tag. And then with new-scsmview command to use the existing criteria.
You may go through the links below for more details:
SCSM Customizing Views / XML / View Logic
https://newsignature.com/articles/scsm-customizing-views-xml-view-logic
SMLETS: New-SCSMView
https://social.technet.microsoft.com/forums/systemcenter/en-US/63d936e9-b412-419d-a924-2386e4e4f777/smlets-newscsmview
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Looking for good example about Woodstock components and custom validators
Hi guys,
could someone be so kind to give (or suggest) me a simple, minimal and working example with a Woodstock TextField (or Calendar) component and a custom validator?
I cannot find good examples, all the ones I find on the net are too much wide and confusing so that I'm not able to adapt them to my needs.
I already made a custom validator (formerly, "DateValidator") with the "validate()" method, and added it to some dynamically created components with code like this:
calendar1.setImmediate(true);
calendar1.setAutoValidate(true);
MethodExpression methodExpression = facesContext.getApplication().getExpressionFactory().createMethodExpression(elcontext, "#{DateValidator.validate}", null, new Class[] { FacesContext.class, UIComponent.class, Object.class });
calendar1.setValidatorExpression(methodExpression);
Now, when I change data in the textbox or in the calendar, I see that something obscure is moving (this because I can read "Reading from localhost..." in the status bar of the browser), but nothing happens, and the validator method is never called (I tried this with the debugger).
I think that only a good example could save me from the dark... Thanks in advance!Yes, I'd thought about just having the user set their
timezone (similar to the forum Settings). However,
even this forum settings causes some confusion.
There's two options for a number of timezones. What
differentiates them? The daylight saving rules are
important to know and the list of timezones doesn't
indicate this in any way. This list doesn't show all
available timezones either (as previously mentionted,
there's seven timezones for GMT -0700).Then you would have to do a better job than Sun did, wouldn't you? After all if you are going to be interpreting the answer you get, you had better ask a clear question. If you want to know the list of timezones actually supported by Java, then examine the source code for the TimeZone class. You can also search Google for "time zones" for links that will keep you busy for weeks learning the arcana of time zones around the world. -
Post some good examples for logical database
Hi all,
Can any one post some good examples for logical database.
Regards,
LisaHi lisa
Example of a Logical Database
Let us consider the logical database TEST_LDB.
Selections in the Selection Include
SELECT-OPTIONS: SLIFNR FOR LFA1-LIFNR,
SBUKRS FOR LFB1-BUKRS,
SGJAHR FOR LFC1-GJAHR,
SBELNR FOR BKPF-BELNR.
Database Program
DATABASE PROGRAM OF THE LOGICAL DATABASE TEST_LDB
PROGRAM SAPDBTEST_LDB DEFINING DATABASE TEST_LDB.
TABLES: LFA1,
LFB1,
LFC1,
BKPF.
Initialize selection screen (process before PBO)
FORM INIT.
ENDFORM. "INIT
PBO of selection screen (always before selection
screen
FORM PBO.
ENDFORM. "PBO
PAI of selection screen (process always after ENTER)
FORM PAI USING FNAME MARK.
CASE FNAME.
WHEN 'SLIFNR'.
WHEN 'SBUKRS'.
WHEN 'SGJAHR'.
WHEN 'SBELNR'.
ENDCASE.
ENDFORM. "PAI
Call event GET LFA1
FORM PUT_LFA1.
SELECT * FROM LFA1
WHERE LIFNR IN SLIFNR.
PUT LFA1.
ENDSELECT.
ENDFORM. "PUT_LFA1
Call event GET LFB1
FORM PUT_LFB1.
SELECT * FROM LFB1
WHERE LIFNR = LFA1-LIFNR
AND BUKRS IN SBULRS.
PUT LFB1.
ENDSELECT.
ENDFORM. "PUT_LFB1
Call event GET LFC1
FORM PUT_LFC1.
SELECT * FROM LFC1
WHERE LIFNR = LFA1-LIFNR
AND BUKRS = LFB1-BUKRS
AND GJAHR IN SGJAHR.
PUT LFC1.
ENDSELECT.
ENDFORM. "PUT_LFC1
Call event GET BKPF
FORM PUT_BKPF.
SELECT * FROM BKPF
WHERE BUKRS = LFB1-BUKRS
AND BELNR IN SBELNR
AND GJAHR IN SGJAHR.
PUT BKPF.
ENDSELECT.
ENDFORM. "PUT_BKPF
The PROGRAM statement has the addition DEFINING DATABASE TEST_LDB. This defines the database program as belonging to the logical database TEST_LDB.
The nodes of the structure are declared with the TABLES statement which generates the appropriate table work areas. You can also use the NODES statement to define database tables as nodes. If a node of a logical database is not a database table, you must use the NODES statement. The interface work areas are shared by the database program and the user, and so act as an interface for passing data. The term "user" here can mean either an executable program to which the logical database is linked, or the function module LDB_PROCESS.
The subroutines INIT and PBO initialize the selection screen.
In the PAI subroutine, you can include an authorization check for the user input on the selection screen. Plausibility or value range checks are also possible. If a check fails, you can write an error dialog. The corresponding field on the selection screen is then made ready for input again.
The PUT_<node> subroutines read the database tables according to the selection criteria entered by the user and trigger the relevant events in the executable program. This program is intended only to show the essential structure of a logical database. It does not contain any refinements to improve response times. The order in which the subroutines are called is determined by the structure of the logical database.
regards,
vijay -
Example Servlet XML loader?
I was wondering if anyone might have a good example of a servlet based XML loader routine. I have to write a load routine that will take a XML file, read it into a DOM and then navigate throught doing various validations before putting the info (via jdbc) into a back end database.
I'd like an interface where I can specify the file, have it indicate the progress, pick validations options, etc. via a screen interface. It will also have to be flexible enough to specify those same interface parameters via a config file also.
Anyway, just wondering if someone has already done something similiar that I could use as a starting point?
Thanks,
DaveI am using servlet to read an XML from the request object. My client who developing the jsp pages are embeded the xml as a String in a form. I'll have to get the String value then generate a Document object to pass to use it.
I am in the stage of concept proof that I should be able to use HTTPTunneling to write an XML object direct to the outputstream, then read the inputstream to cast it back.
What kinda routine are you using? I would like to know if there is any easier ways, thanks!
Kevin -
How can I render an active link (yrl) within a UIX/XML page
How can I render an active link (url) within a UIX/XML page.
How can I get <jbo:ShowValue> to work in UIX/XML, or is there another way?
Bill G...It may seem strange, but the <contents> of <rawText> aren't actually
raw - it's only the "text" attribute that's raw. (It seems strange because
it is. Ah well.) This is different from UIX JSP.
So, try something like the following:
<bc4j:attrScope name="Notes">
<contents>
<rawText text="<a href=""/>
<rawText>
<boundAttribute name="text">
<bc4j:attrProperty name="value"/>
</boundAttribute>
</rawText text="">"/>
Some text in the link.
<rawText text="</a>"/>
</contents>
<bc4j:attrScope>
Thankfully, this will be much simpler in 9.0.3, when the following
will work:
<link text="Whatever you want">
<boundAttribute name="destination">
<bc4j:attrValue name="Notes"/>
</boundAttribute>
</link> -
Is there a good example of a shuttle item?
Hello,
I am looking for a good example of a shuttle:
How to populate a Left side, Right site and a Merge to save results.
Left side should have all available options, except the ones that User already have.
Right side should have only options that User already have.
Both sides of shuttle should be populated on page load with Options names, not IDs.
Using apex 4.2
If there is any demo app with a shuttle that would be helpful too.
Thank you.
Added some clarifications.Hi ,
Please find the below threads/blogs which mey be helpful
1.Dimitri Gielis Blog (Oracle Application Express - APEX): APEX by Example - Default value of Shuttle
2.https://community.oracle.com/thread/2374927
3.http://www.easyapex.com/index.php?p=206
4.https://community.oracle.com/thread/1120460
5.Re: Denes's Ajax Filter Shuttle List not working in IE
Hope this helps!!
Thanks,
Shwetha -
Where can i get good documents for XML
Hai,
I am new to XML..I like to know where can i get good documents for XML that can be downloaded.
regards,
Mathan
nullYou can order online from here and here.
Regards,
-rh -
Any good example of IMAQ Correlation vi.
Hello,
I am trying to understand the use of IMAQ Correlation VI for the purpose of feature tracking among the series of images for my experiment using Normalized Cross-Correlation technique. Kindly see the attached VI, it just not making any sense to me. Kindly suggest and any good example will be very helpful. Thanks in advance.
Attachments:
Correlation-1.vi 61 KBIt is a little hard to tell what you are trying to do from your explanation. You would have a much higher success rate if you posted on the Machine Vision board in the Most Active Hardware Boards. Also, if you post an example it is good practice to state the version of software used. It is also helpful to save it to a previous version to allow a broader audience to see the example.
You stated that you have a "purpose of feature tracking among the series of images for my experiment using Normalized Cross-Correlation technique." Could you post this with a more detailed explanation on the Machine Vision board? Also to explain what type of suggestions or advice you are looking for from the example that you posted would allow myself and others on the forums to understand what you are looking for here.
Vince M
Applications Engineer -
What r the good examples of transient kinda variable?
Can anyone plz tell me few good examples of transient variables?
Anything that can be calculated from other members of the object, e.g.
class Grades {
double exam1;
double exam2;
double exam3;
transient double average;
public Grades(double exam1, double exam2, double exam3) {
this.exam1= exam1;
this.exam2= exam2;
this.exam3= exam3;
this.average = (exam1+exam2+exam3)/3;
} -
Good example of a class using JDBC oracle?
Does anyone have a good example of this? I found sites that give me the basics...
Is it a good idea to create a class, say called MyDBConnection (obviously a better name later) and have the constructor create an instance and connect to the database? So that when functions are called to query and update the database tables it doesn't have to reconnect?Hi,
Why do you think that you have to reconnect to the database for each query?
/Kaj -
Any good examples of using hashCode?
I am creating a simple test class of a date object using getYear, getMonth, GetDay, compareTo, equals and hashCode. Ive got everything else working fine, but im wondering if I am getting the correct output from the hashCode method. What exactly does the hashCode method do? anyone got a good example of using it and what it outputs?
the name of my date class - here's the rest of my code if you want to verify it:
package Final;
import java.util.GregorianCalendar;
import java.util.Calendar;
public class SimpleDate
/** Creates a new instance of SimpleDate
public SimpleDate()
GregorianCalendar greg = new GregorianCalendar();
year = greg.get(Calendar.YEAR);
month = 1 + greg.get(Calendar.MONTH);
day = greg.get(Calendar.DATE);
/** Creates the setDate method which allows the day, month, and year of the
* date to be specified
public SimpleDate( int year, int month, int day )
setDate( year, month, day );
/** Sets the day, month, and year variables for the date
public void setDate( int year, int month, int day )
GregorianCalendar greg = new GregorianCalendar();
greg.set(Calendar.YEAR, year);
greg.set(Calendar.MONTH, month-1);
greg.set(Calendar.DATE, day);
this.year = greg.get(Calendar.YEAR);
this.month = 1 + greg.get(Calendar.MONTH);
this.day = greg.get(Calendar.DATE);
/** Defines the method getYear which gets the integer value which represents
* the year in the date
* @returns int year
public int getYear()
return year;
/** Defines the method getMonth which gets the integer value which represents
* the month in the date
* @returns int month
public int getMonth()
return month;
/** Defines the method getDay which gets the integer value which represents
* the day in the date
* @returns int day
public int getDay()
return day;
/** Defines the boolean method equals which compares two dates to see if they
* are equal
* @returns boolean equals
public boolean equals()
return equals;
public int compareTo()
return comparable;
public int hashCode()
return hashcode;
public String toString()
String string1 = new String();
return string1;
/*************Built-in Self Test************/
public static void main(String[] args)
SimpleDate date = new SimpleDate();
SimpleDate date2 = new SimpleDate();
date.setDate(2005, 11, 4);
System.out.println("Day, Month and Year: " + day + " " + month + " " + year);
date.getYear();
System.out.println("The year selected is: " + year);
date.getMonth();
System.out.println("The month selected is: " + month);
date.getDay();
System.out.println("The day selected is: " + day);
date2.setDate(2004, 11, 4);
System.out.println("The first date selected equals the second date selected: " + date.equals(date2));
//System.out.println("The first date selected is comparable to the second date selected: " + date.compareTo(date2));
//How do I implement compareTo?
System.out.println("The hashcode for the first date selected is: " + date.hashCode());
System.out.println("The hashcode for the second date selected is: " + date2.hashCode());
// ***** Instance Variables *****
static int year;
static int month;
static int day;
boolean equals;
int comparable;
int hashcode;
}
Maybe you are looking for
-
Adding a delay timer in a frame - need help
in flash cs3 using actinscript 3.0 i have a frame that i loaded text into, i want to freeze that frame so the text stays in the window for lets say 10 seconds, then it exits and loops again...is there a snippet of code like sleep(1000); that will all
-
Hello Macs, I need to add a new printer so that I can use it on my MB. It is an HP 5250 all in one. It is hooked up to a PC running Windows XP. The printer is on my home network, and is setup to be shared. However, my MB does not "see" it in the prin
-
Finding photos after upgrade to 7.1.1 by location on a map
I have updated my ipad to 7.1.1 but cannot find my photos by location on the map. I have followed the ipad manual where it days tap the > when viewing in years but I have no > icon. All my photos appeared on a map prior to upgrade - can anyone help?
-
Has anyone experienced this problem connecting to iTunes Store
When attempting to download content from the iTunes StoreI receive an error message, saying that there is a problem with this download,"an unknown error occurred [-1303]" I experience the same problem downloading podcasts to which I subscribe via iT
-
Dear Experts, I have installed and could able to run ABAP on SAP NetWeaver 7.01 ABAP Trial Version. I could not able run BI 7.0 or BW 3.5. When I run RSA1 Tcode I am getting error message as You can only work in client 000 if I sign in with 001 and v