[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

re-printing xml

Subject: re-printing xml
From: "Blaise, Isaac J" <iblaise@xxxxxxxxxxxxx>
Date: Wed, 30 Oct 2002 16:32:21 -0500
xml from blaise
greetings list.

I am busy creating help files for our product (which will be xml/xsl driven).  I am stumped on one portion of our design.  
sample input:  (select everything that is a descendent of //xs:xmlSample and return it with modifications)
		<xs:xmlSample>
			<ResponseTranslation>
				<Maps>
					<Map FileSpec="D:\Program Files\INFO1\iBLOX\Maps\eBURI1Yo.mmc" Parameters="">
						<Inputs>
							<Input Source="XPathXML" Required="False">//RawResponses</Input>
							<Input Source="XPathXML" Required="False">//DATABASE</Input>
							<Input Source="XPathDATA" Required="False">//URID</Input>
						</Inputs>
						<Outputs>
							<Output Target="DOM">
								<DOMInsert DataType="XML" ParentXPath="//iBLOX" ElementName="" />
							</Output>
						</Outputs>
					</Map>
				</Maps>
			</ResponseTranslation>
		</xs:xmlSample>

the output in html will be almost exactly that of the input (unless they are openning nodes, such as ResponseTranslation, Maps, Map, Inputs, or Input; in which case, the name is reprinted and a link is created to an anchor elsewhere on the same page).  

I originally designed the page to do a copy-of inside a textarea, but cannot with the added functionality.  
Is there an algorithm or tip handy for creating help pages that recycle the xpaths and make modifications such as adding hyperlinks?
please click below to view the design page. (this is how it should end up looking, and it is finished except for the Process XML Sample Section)

http://globalambition.org/temp/design.htm

thanks!
Isaac

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.