jGuru
Register Email     Password Forgot your
password?
HOME FAQS FORUMS DOWNLOADS ARTICLES PEERSCOPE LEARN

  Search   jGuru Search Help

View:
XML FAQ Home Page

FAQ Manager is guru Roseanne Zhang PREMIUM.

XML is a popular new standard for representing data in a vendor neutral format. It separates the content of the data from the presentation of it. It is a promising format for exchanging data between software systems.

What's New

What is the schemagen tool?
Languages:Markup:XML
John Zukowski PREMIUM, Sep 29, 2007
The schemagen tool is the schema generator for Java Architecture for XML Binding (JAXB). It generates a schema file for each namespace referenced in your...
Who is GregorSamsa?
Languages:Markup:XML:XSLT
John Zukowski PREMIUM, Jun 19, 2007
Gregor Samsa is the main character from The Metamorphosis by Franz Kafka. However, in the Java world, it is the Translet class for Apache Xalan, the XSLT...
How can I read a vCard attachment from my Java program?
Languages:Markup:XML, Java:API:JavaMail:Attachments
John Zukowski PREMIUM, Dec 31, 2006
The vCard4J SourceForge project (http://sourceforge.net/projects/vcard4j) offers just what you are looking for.

What is StAX?
Languages:Markup:XML
John Zukowski PREMIUM, Mar 31, 2006
StAX is the Streaming API for XML defined by JSR 173.
Q. How to represent an element with either decimal or empty contents in schema? Can enumeration be empty too?
Languages:Markup:XML:Schema
Roseanne Zhang PREMIUM, Dec 12, 2005
Q. How to represent an element with either decimal or empty contents in schema? Can enumeration be empty too? A: Yes, we can! It is not easy, but I finally...
how to get document headers using XSLT <?xml version="1.0" encoding="UTF-8"?> <main title="Main Heading"> <section title="Heading1"> <section title="Heading1.1" > ...
Languages:Markup:XML:XSLT
Roseanne Zhang PREMIUM, Sep 24, 2005
I spent sometime this weekend, and solved your problem. It was hard to me, but the answer is simple. :) Here is your answer: Q. How to use recursion...
Inserting elements when surrounding elements are optional [NOTE: I am a XSL/XSLT newbie.] I am trying to insert some elements into a web.xml file (the Tomcat configuration file) using XSLT. I want...
Languages:Markup:XML:XSLT
Roseanne Zhang PREMIUM, Sep 24, 2005
I made a template and it works now. I made up an xml to test, the filter element is always inserted in the correct place. Take a look! Thanks! Q. How...
How to ask an XSLT question?
Languages:Markup:XML:XSLT
Roseanne Zhang PREMIUM, Aug 9, 2005
Put your input XML Put your desired html output Put your XSLT which does not work as desired In this way, others might come out a suggestion or even...
converting <abc/> to <abc></abc> I have a xml which has nodes like <abc/>. My scanner fails to recognise them. So I need to transform the nodes <abc/> to <abc></abc>...
Languages:Markup:XML
Almagest FUTT, Jul 25, 2005
You do actually mean <abc/> when you say "singleton nodes", don't you ? For otherwise, it wouldn't be surprising they made a fuss. A regex would...
How can I display tree on the screen? How can I display an XML file into tree structure format using jsp on the screen?
Languages:Markup:XML:XSLT
Ravi Kumar Srirangam, Apr 26, 2005
If you are using XSL to render the HTML, then the following link will be of some help: http://www.15seconds.com/issue/010921.htm
XML problem with '&' I am having a problem with XML. Whenever one of my xml files had some data in it that contains an '&', for example <tag> keyboard & mouse </tag> the xgen code throws an...
Languages:Markup:XML
Roseanne Zhang PREMIUM, May 27, 2004
use &amp; instead. This should be used everywhere except you really have an entity reference. It applies to html, xhtml, xml, etc.
How to dynamically generate HTML table by using XSLT? Hi everyone. I have this xml <items> <item desc="BA"/> <item desc="BE"/> <item desc="BI"/> <item desc="BO"/> <item...
Languages:Markup:XML:XSLT
Roseanne Zhang PREMIUM, Jun 17, 2003
Here is your simple and complete answer. There is no need to do more than one steps. You just need a little xpath trick. The output is valid xhtml as well...
Merging two XML documents This question is very similar to the one on adding existing JDOM/DOM elements to a document object. I just want to know if it is possible to combine two existing XML documents...
Languages:Markup:XML:JAXP
Roseanne Zhang PREMIUM, Jun 10, 2003
If you are using JDOM, then use the org.jdom.Element.clone() method. It is a deep clone, and the clone will forget where it from. However, if you're using...
How to enforce Elements has value by XSD definition Hi, I have a requirement that the Element <startdate> must have value.How to enforce that during XSD Design
Languages:Markup:XML:Schema
Roseanne Zhang PREMIUM, Jun 6, 2003
If it is xsd:date type, empty string will not be valid. If it is xsd:string type, you can use length or pattern facet to control it... However, if you...
XSDs, Attributes, and Enumeration I've built XML schemas before, and created elements that had enumerations or attributes, but never both. What I want is something like: <state code="1234">...
Languages:Markup:XML:Schema
Roseanne Zhang PREMIUM, Jun 4, 2003
This is a good question! When you try to enumerate base type string, you need restriction. However, you want to add attributes to a simpleContent, you...
how to generate xml file with only some elements of another xml file using xsl file. I have an xml file.Now i have to write an xsl file so that,it should copy only some elements of the input xml file....
Languages:Markup:XML:XSLT
Roseanne Zhang PREMIUM, May 26, 2003
This is a summary. It just depends how many you want to copy over. If you only want to copy a few, then disable all default templates and only write...
Writing a SAX parser that validates external schemas. Hi. Could someone tell me how to write a SAX parser that validates an external schema? I've previously written a parser that validates inline...
Languages:Markup:XML:Schema
Roseanne Zhang PREMIUM, May 26, 2003
That is a norm instead of exception. You only need set certain features. I've an example here. It is using JDOM, but the process is exact the same. Q....
Having both DTD and Schema On an XML Hi, I'm just wondering it is logical to have both DTD and Schema for an XML? I did that and when I parse it using Xerces, it give me a warning, saying something...
Languages:Markup:XML:Schema
Roseanne Zhang PREMIUM, May 23, 2003
It is not recommended. I made it work once, the major reason was trying to take advantage of DTD entities. It would be easily causing confusion. It would...
how to handle 2 xml files with one xsl file i have 2 xml files .i have to write anxsl file,which should go through the first xml file and search for an element and that element should be replaced with...
Languages:Markup:XML:XSLT
Roseanne Zhang PREMIUM, May 23, 2003
You have to use some extention until next XSLT recommendation (1.1 ?). Here is an example: http://bobcat.webappcabaret.net/javachina/faq/xslt_01.htm#x...
Can I get at the processing instruction via dom or sax I need to get the href attribute from a XML document processing instruction tag can I do this via dom/sax or should I just read in the file line...
Languages:Markup:XML:JAXP
Roseanne Zhang PREMIUM, May 22, 2003
In SAX, use org.xml.sax.helpers.DefaultHandler.processingInstruction method. public void processingInstruction(java.lang.String target, ...
« previous beginning next »


Ask A Question



Related Links

XML Forum

Wish List
Features
About jGuru
Contact Us

 




JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES