Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-02-2007, 11:14 AM
glavian glavian is online now
Registered User
 
Join Date: 04-23-2007
Posts: 9
Include Exclude Seperator

Hi,

I'm reading my include and exclude files/file paths from an XML attribute string. Is there a seperator I can use to signify end of line or do I need to parse the string myself.

For example I want my exclude path to look like:
/Decals
**/BloodTextures

The string I read in from XML is: "/Decals,**/BloodTextures"


Thanks,
Keith
Reply With Quote
  #2  
Old 05-02-2007, 12:32 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The separator needs to be a newline. You can convert the commas to newlines via a script expression (assumes VBScript is the default script language):

[Replace("%READ_XML(%XML_FILE%,xpath/to/@attr)%", ",", vbCrLf)]

http://www.visualbuild.com/Manual/scriptexpressions.htm
http://www.visualbuild.com/Manual/systemmacros.htm
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 05:47 PM.


Copyright © 1999-2023 Kinook Software, Inc.