Subject: Re: [xsl] Identity Transformation of XML for web display From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 20 Mar 2006 11:56:58 -0500 |
Cheers, Wendell
Hello,
I'd like to create an identity tranformation that replaces "<" this and ">" this to "&lgt;" and "&glt" for display of the XML document on an HTML page. I can handle this part, but would like help with the spacing of the elements as they appear hierachely. So example, how to space:
into
<A> <B> <C/> </B> </A>
you have to be very intuitive as to knowing at which depth you are in your transformation to style this something like:
<div style="indent_3">&glt;C&glt;</div>
where style indent_3 is a margin of 20px for example.
Any help would be appreciated.
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Identity Transformation o, Karl Stubsjoen | Thread | Re: [xsl] Identity Transformation o, Robert Koberg |
Re: [xsl] descendant-or-self XSLT 1, Florent Georges | Date | Re: [xsl] XSL-FO: Suppressing Heade, Wendell Piez |
Month |