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
ServerWatch.com Article: Virtualization Enters the SMB World
ITChannelPlanet.com Article: Emerging E-Discovery Market Grows More Vital for VARs
StoreVault Whitepaper: Introduction to Networked Storage
Oracle eBook: Implementing Business Intelligence in Your Organization
Hoovers Sales Tip: Building Credibility with New Clients
SAP Whitepaper: A Corporate Guide to Better Decisions Through IT
Microsoft Article: Flexibility, Agility the Keys to Dynamic IT
Microsoft Article: Improving Infrastructure Management for Mid-Size Companies
IBM Whitepaper: CIO Insights--Ignite Innovation by Fusing Business and IT
IBM Whitepaper: Transforming Legacy Apps into SOA
Internet.com eBook: All About Botnets
Intel Article: 8 Simple Rules for Designing Threaded Applications
Symantec Whitepaper: E-Mail Discovery--Worst-Case Scenarios Versus Best Practices
Ipswitch Whitepaper: Secure File Transfer In the Era of Regulatory Compliance
Symantec Whitepaper: A Unified, Proactive Approach to Endpoint Security
APC eBook: Putting the Green in IT
Intel Whitepaper: Best Practices for Developing and Optimizing Threaded Applications
Symantec Whitepaper: Emerging Trends in Fighting Spam
Oracle eBook: Guide to Oracle 11g and Database Migration
Symantec Whitepaper: Best Practices for IM Archiving & Compliance
Intel Article: The Challenges of Developing Multithreaded Processing Pipelines
Avaya Whitepaper: SIP--Creating Next-Generation Telecom Applications
Avaya Article: Event Processing Demands Real-Time Response for Communications-Enabled Business Apps
MessageLabs Whitepaper: Spam Spikes--A Real Risk to Your Business
Symantec Article: Guarding the Corporate Gateway
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Epicor Webcast: Requirements to Consider When Looking at ITSM Tools
Intel Video: Three Must-Knows for Parallelism
Microsoft: NXT Web Seminar Series
Microsoft Partner Program Video: The Secrets to Partner Success
Rational Asset Manager: Succeed with Asset-based Development
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
NXPowerLite: Desktop Edition Software Trial
IBM Rational Systems Development Solution e-Kit
IBM SOA Development Survival Guide eKit
Evaluate IBM Rational Build Forge Online
IBM Enterprise Architect eKit for SOA
Evaluate Rational Application Developer Online
Iron Speed Designer Application Generator
Symantec IM Detection Utility
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM Overview Video: Next Generation Data Warehousing
IBM Tutorial: Intro to XML User Interface Language (XUL) Development
Microsoft How-to Article: Get Going with Silverlight and Windows Live
IBM Tutorial: The Ajax Transport Method
IBM Tutorial: Learning PHP
IBM Tutorial: Validating XML
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES