From: <spa...@co...> - 2007-05-01 16:38:50
|
Owen, Thanks for the response. I used &. That displayed code correctly. I tried CDATA option. It displays the xml, but CDATA tag is also displayed. Is there a way to hide that in the doc? I also tried <, > instead of CDATA for doc, but that displays the xml with < instead of <. Is there a way to display <? Thanks Parvathi -------------- Original message ---------------------- From: Owen Blacker <ow...@bl...> > The example, like all the XMLdoc tags require normal XML constraints. > I'd suggest either wrapping your example with <![CDATA[ ... ]]> (which > might work, but I've never tried it) or escaping the && to && > just like with any "normal" XML. > > Hope this helps! > > > Owen > -- > Owen Blacker, London GB > Say no to ID cards: www.no2id.net > Get your mitts off my bits: www.openrightsgroup.org > -- > Those who would give up essential liberty to purchase a little temporary > safety, deserve neither liberty nor safety -- Benjamin Franklin, 1759 > > > spa...@co... wrote (2007-04-30 T 23:02 -0000): > > > > All, > > > > I am using NDoc tag example and code to display sample code. Code uses > > '&&' as part of if statement in c#. Somehow NDOc generator is > > discarding the whole documentation including summary when & is used. > > > > Same issue is there if a string is assigned to an xml message as shown > > below. > > > > string request = "<?xml version=\"1.0\" encoding=\"utf-8\"?><Request > > xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" > > > xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><ActionCode>Act</ActionC > ode><SystemCode>GrptUI</SystemCode></Request>"; > > > > I tried using the "escaped" option for code and example tags. No use. > > Any thoughts? > > > > Thanks > > Parvathi > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Ndoc-users mailing list > > Ndo...@li... > > https://lists.sourceforge.net/lists/listinfo/ndoc-users > > > > -- > Owen Blacker, London GB > Say no to ID cards: www.no2id.net > Get your mitts off my bits: www.openrightsgroup.org > -- > Those who would give up essential liberty to purchase a little temporary > safety, deserve neither liberty nor safety -- Benjamin Franklin, 1759 |
From: <spa...@co...> - 2007-05-01 17:37:07
|
Oops! I was trying these tags with "escaped=true" in code tag. I removed that and it works fine. Again thanks Owen. Parvathi -------------- Original message ---------------------- From: Owen Blacker <ow...@bl...> > The example, like all the XMLdoc tags require normal XML constraints. > I'd suggest either wrapping your example with <![CDATA[ ... ]]> (which > might work, but I've never tried it) or escaping the && to && > just like with any "normal" XML. > > Hope this helps! > > > Owen > -- > Owen Blacker, London GB > Say no to ID cards: www.no2id.net > Get your mitts off my bits: www.openrightsgroup.org > -- > Those who would give up essential liberty to purchase a little temporary > safety, deserve neither liberty nor safety -- Benjamin Franklin, 1759 > > > spa...@co... wrote (2007-04-30 T 23:02 -0000): > > > > All, > > > > I am using NDoc tag example and code to display sample code. Code uses > > '&&' as part of if statement in c#. Somehow NDOc generator is > > discarding the whole documentation including summary when & is used. > > > > Same issue is there if a string is assigned to an xml message as shown > > below. > > > > string request = "<?xml version=\"1.0\" encoding=\"utf-8\"?><Request > > xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" > > > xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><ActionCode>Act</ActionC > ode><SystemCode>GrptUI</SystemCode></Request>"; > > > > I tried using the "escaped" option for code and example tags. No use. > > Any thoughts? > > > > Thanks > > Parvathi > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Ndoc-users mailing list > > Ndo...@li... > > https://lists.sourceforge.net/lists/listinfo/ndoc-users > > > > -- > Owen Blacker, London GB > Say no to ID cards: www.no2id.net > Get your mitts off my bits: www.openrightsgroup.org > -- > Those who would give up essential liberty to purchase a little temporary > safety, deserve neither liberty nor safety -- Benjamin Franklin, 1759 |
From: Owen B. <ow...@bl...> - 2007-05-02 09:39:51
|
Glad I could help :o) spa...@co... wrote (2007-05-01 T 17:37 -0000): > From: spa...@co... > Return-Path: <ndo...@li...> > To: Owen Blacker <ow...@bl...> > Cc: NDoc users list <ndo...@li...> > Envelope-To: ow...@bl... > Message-ID: > <050120071737.2671.46377ABE0002B64100000A6F220702085307089B0E909D0E9F9C@co > mcast.net> > X-Mailer: AT&T Message Center Version 1 (Oct 4 2006) > X-Spam-Score: 0.2 (/) > X-Spam-Score: -1.4 (-) > Date: Tue, 01 May 2007 17:37:02 +0000 > Delivery-date: Tue, 01 May 2007 18:37:16 +0100 > Subject: Re: [Ndoc-users] NDOC issue with some characters > > Oops! I was trying these tags with "escaped=true" in code tag. I removed that and it works fine. Again thanks Owen. > > Parvathi > -------------- Original message ---------------------- > From: Owen Blacker <ow...@bl...> >> The example, like all the XMLdoc tags require normal XML constraints. >> I'd suggest either wrapping your example with <![CDATA[ ... ]]> (which >> might work, but I've never tried it) or escaping the && to && >> just like with any "normal" XML. >> >> Hope this helps! >> >> >> Owen >> -- >> Owen Blacker, London GB >> Say no to ID cards: www.no2id.net >> Get your mitts off my bits: www.openrightsgroup.org >> -- >> Those who would give up essential liberty to purchase a little temporary >> safety, deserve neither liberty nor safety -- Benjamin Franklin, 1759 >> >> >> spa...@co... wrote (2007-04-30 T 23:02 -0000): >>> >>> All, >>> >>> I am using NDoc tag example and code to display sample code. Code uses >>> '&&' as part of if statement in c#. Somehow NDOc generator is >>> discarding the whole documentation including summary when & is used. >>> >>> Same issue is there if a string is assigned to an xml message as shown >>> below. >>> >>> string request = "<?xml version=\"1.0\" encoding=\"utf-8\"?><Request >>> xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" >>> >> xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><ActionCode>Act</ActionC >> ode><SystemCode>GrptUI</SystemCode></Request>"; >>> >>> I tried using the "escaped" option for code and example tags. No use. >>> Any thoughts? >>> >>> Thanks >>> Parvathi >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Ndoc-users mailing list >>> Ndo...@li... >>> https://lists.sourceforge.net/lists/listinfo/ndoc-users >>> >> >> -- >> Owen Blacker, London GB >> Say no to ID cards: www.no2id.net >> Get your mitts off my bits: www.openrightsgroup.org >> -- >> Those who would give up essential liberty to purchase a little temporary >> safety, deserve neither liberty nor safety -- Benjamin Franklin, 1759 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Ndoc-users mailing list > Ndo...@li... > https://lists.sourceforge.net/lists/listinfo/ndoc-users > -- Owen Blacker, London GB Say no to ID cards: www.no2id.net Get your mitts off my bits: www.openrightsgroup.org -- Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety -- Benjamin Franklin, 1759 |