cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Viewing XML tags for demo
Date Wed, 06 Sep 2000 17:45:43 GMT
When I do that I have to view/source to see the tag structure. In the browser it just shows
the content of the tags but not the tags themselves.

>>> 9/6/2000 1:42:03 PM >>>
In your example, if you comment out the line below, you should see the
unstyled XML data (e.g. your included file or your sql results):

<?xml version="1.0"?>

<?cocoon-process type="xsp"?>
<?cocoon-process type="sql"?>
<!-- <?cocoon-process type="xslt"?>   Comment this line out to avoid styling
the doc -->
<?xml-stylesheet href="directory-html.xsl" type="text/xsl"?>


> I am putting together a short XML demo page for my intranet
> developers. I am using xsp and sql to generate the xml and then
> applying a stylesheet:
> <?xml version="1.0"?>
> <?cocoon-process type="xsp"?>
> <?cocoon-process type="sql"?>
> <?cocoon-process type="xslt"?>
> <?xml-stylesheet href="directory-html.xsl" type="text/xsl"?>
> I am using the view-source.xml that came with the cocoon demos to
> allowing viewing of the source xml and xsl page but I also want
> to be able to view the resulting xml after the sql query and xsp
> processing. Is there an easy way to do this or do I have to
> create a stylesheet that simulates this.
> Thanks
> Jim
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 

To unsubscribe, e-mail: 
For additional commands, e-mail: 

View raw message