Re: [Framers] Suppress XML Element Data

2022-08-09 Thread cuc tu
Thanks, Rick.

There are no attributes and we also use ePublisher to produce their flavor of 
HTML help.

C2


From: Framers  on 
behalf of framers-requ...@lists.frameusers.com 

Sent: Monday, August 8, 2022 1:02 PM
To: framers@lists.frameusers.com 
Subject: Framers Digest, Vol 197, Issue 3

Send Framers mailing list submissions to framers@lists.frameusers.com
To subscribe or unsubscribe, visit
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com You
can reach the person managing the list at
framers-ow...@lists.frameusers.com When replying, please edit your
Subject line so it is more specific than "Re: Contents of Framers
digest..."

Today's Topics:

   1.  Suppress XML Element Data (cuc tu)
   2. Re:  Suppress XML Element Data (r...@rickquatro.com)


--

Message: 1
Date: Mon, 8 Aug 2022 18:24:17 +
From: cuc tu 
To: "framers@lists.frameusers.com" 
Subject: [Framers] Suppress XML Element Data
Message-ID:



Content-Type: text/plain; charset="iso-8859-1"

Hi Framers,

I have some XML elements with text data that I want to suppress or not print. I 
discovered that I can use the rw-rules:

element "ClassName" drop;

But I want to retain the data when I save the XML file. I thought I could make 
it an index but I could not figure it out. I was getting a message that text 
data is not allowed.

That might not be a good approach anyway. I could use conditional text but had 
similar issues setting up the EDD.

Any advice is appreciated.

Thanks, C2


--

Message: 2
Date: Mon, 8 Aug 2022 14:46:45 -0400
From: 
To: "'An email list for people using Adobe FrameMaker software.'"
    
Subject: Re: [Framers] Suppress XML Element Data
Message-ID: <05e801d8ab57$35f78cf0$a1e6a6d0$@rickquatro.com>
Content-Type: text/plain;   charset="us-ascii"

Hi C2,

If those elements have attributes you can use the Filter By Attribute
command to filter them out before you print or make a PDF. Then they will be
retained in the XML.

Rick

___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com


Re: [Framers] Suppress XML Element Data

2022-08-08 Thread rick
Hi C2,

If those elements have attributes you can use the Filter By Attribute
command to filter them out before you print or make a PDF. Then they will be
retained in the XML.

Rick

-Original Message-
From: Framers  On
Behalf Of cuc tu
Sent: Monday, August 8, 2022 2:24 PM
To: framers@lists.frameusers.com
Subject: [Framers] Suppress XML Element Data

Hi Framers,

I have some XML elements with text data that I want to suppress or not
print. I discovered that I can use the rw-rules:

element "ClassName" drop;

But I want to retain the data when I save the XML file. I thought I could
make it an index but I could not figure it out. I was getting a message that
text data is not allowed.

That might not be a good approach anyway. I could use conditional text but
had similar issues setting up the EDD.

Any advice is appreciated.

Thanks, C2
___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com Visit the list's homepage at
http://www.frameusers.com Archives located at
http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com

___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com


[Framers] Suppress XML Element Data

2022-08-08 Thread cuc tu
Hi Framers,

I have some XML elements with text data that I want to suppress or not print. I 
discovered that I can use the rw-rules:

element "ClassName" drop;

But I want to retain the data when I save the XML file. I thought I could make 
it an index but I could not figure it out. I was getting a message that text 
data is not allowed.

That might not be a good approach anyway. I could use conditional text but had 
similar issues setting up the EDD.

Any advice is appreciated.

Thanks, C2
___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com